2000W / 48V LLC Battery-Charger  V1.00
XMC_RTC_ALARM Struct Reference

#include <xmc_rtc.h>

Public Attributes

union {
   uint32_t   raw0
 
   struct {
      uint32_t   seconds: 6
 
      uint32_t   __pad0__: 2
 
      uint32_t   minutes: 6
 
      uint32_t   __pad1__: 2
 
      uint32_t   hours: 5
 
      uint32_t   __pad2__: 3
 
      uint32_t   days: 5
 
      uint32_t   __pad3__: 3
 
   } 
 
}; 
 
union {
   uint32_t   raw1
 
   struct {
      uint32_t   __pad0__: 8
 
      uint32_t   month: 4
 
      uint32_t   __pad1__: 4
 
      uint32_t   year: 16
 
   } 
 
}; 
 

Detailed Description

Alarm time values of RTC

The structure presents a convenient way to set/obtain the alarm time values for seconds, minutes, hours, days, month and year of RTC. The XMC_RTC_SetAlarm() and XMC_RTC_GetAlarm() can be used to populate the structure with the alarm time value of RTC

Definition at line 175 of file xmc_rtc.h.

Member Data Documentation

◆ @32

union { ... }

◆ @34

union { ... }

◆ __pad0__

uint32_t XMC_RTC_ALARM::__pad0__

Definition at line 183 of file xmc_rtc.h.

◆ __pad1__

uint32_t XMC_RTC_ALARM::__pad1__

Definition at line 185 of file xmc_rtc.h.

◆ __pad2__

uint32_t XMC_RTC_ALARM::__pad2__

Definition at line 187 of file xmc_rtc.h.

◆ __pad3__

uint32_t XMC_RTC_ALARM::__pad3__

Definition at line 189 of file xmc_rtc.h.

◆ days

uint32_t XMC_RTC_ALARM::days

Alarm days compare value (0-Actual days of month: Above this causes this bitfield to be set with 0)

Definition at line 188 of file xmc_rtc.h.

Referenced by XMC_RTC_GetAlarmStdFormat(), XMC_RTC_SetAlarm(), and XMC_RTC_SetAlarmStdFormat().

◆ hours

uint32_t XMC_RTC_ALARM::hours

Alarm hours compare value (0-23: Above this causes this bitfield to be set with 0)

Definition at line 186 of file xmc_rtc.h.

Referenced by XMC_RTC_GetAlarmStdFormat(), XMC_RTC_SetAlarm(), and XMC_RTC_SetAlarmStdFormat().

◆ minutes

uint32_t XMC_RTC_ALARM::minutes

Alarm minutes compare value (0-59: Above this causes this bitfield to be set with 0)

Definition at line 184 of file xmc_rtc.h.

Referenced by XMC_RTC_GetAlarmStdFormat(), XMC_RTC_SetAlarm(), and XMC_RTC_SetAlarmStdFormat().

◆ month

uint32_t XMC_RTC_ALARM::month

Alarm month compare value (0-11: Above this causes this bitfield to be set with 0)

Definition at line 199 of file xmc_rtc.h.

Referenced by XMC_RTC_GetAlarmStdFormat(), XMC_RTC_SetAlarm(), and XMC_RTC_SetAlarmStdFormat().

◆ raw0

uint32_t XMC_RTC_ALARM::raw0

◆ raw1

uint32_t XMC_RTC_ALARM::raw1

◆ seconds

uint32_t XMC_RTC_ALARM::seconds

Alarm seconds compare value (0-59: Above this causes this bitfield to be set with 0)

Definition at line 182 of file xmc_rtc.h.

Referenced by XMC_RTC_GetAlarmStdFormat(), XMC_RTC_SetAlarm(), and XMC_RTC_SetAlarmStdFormat().

◆ year

uint32_t XMC_RTC_ALARM::year

Alarm year compare value

Definition at line 201 of file xmc_rtc.h.

Referenced by XMC_RTC_GetAlarmStdFormat(), XMC_RTC_SetAlarm(), and XMC_RTC_SetAlarmStdFormat().


The documentation for this struct was generated from the following file: